<template>
  <div class="tem">
    <van-sticky :offset-top="93.5">
      <div class="drink">
        <!-- nihao  -->
        <img src="homeimg/my1.png" />
      </div>
    </van-sticky>
    <Redp v-for="(v,i) in 6" :key="i" />
  </div>
</template>

<script>
import Redp from "@c/my/redp.vue";

export default {
  components: {
    Redp
  }
};
</script>
<style scoped>
.tem {
  height: 2rem;
}
.van-sticky {
  background-color: red;
  width: 3.58rem;
  height: 1.24rem;
  /* left: 0.2rem; */
  margin: auto;
  /* background-color: white; */
}
.van-sticky {
  position: relative;
}
.drink {
  width: 3.58rem;
  height: 1.24rem;
  margin: auto;
  background-color: white;
  /* position: fixed */
}
</style>